<?php

use CodeIgniter\Router\RouteCollection;

/**
 * @var RouteCollection $routes
 */
$routes->get(from: '/', to: 'Home::index');
$routes->get(from: 'travel',to: 'Travel::index');
$routes->get(from: '/travel/showme/(:any)',to: 'Travel::showme/$1');
$routes->get(from: '/image/(:any)',to: 'Media::image/$1');
$routes->get(from: 'home',to: 'Home::index');
$routes->get('/travel/edit/(:any)','Travel::edit/$1');
$routes->post('/travel/handle', 'Travel::handle');
